package Person;

import Book.BookList;
import Func.Func;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 38917
 * Date: 2025-02-16
 * Time: 01:56
 */
public abstract class User {
    protected String name;
    public Func[] func;

    public User(String name) {
        this.name = name;

    }

    public abstract int menu();

    public void setFunc(int choice, BookList bookList){
        func[choice].work(bookList);

    }
}
